﻿@using xConnected.Common.ExpertProfile
<div>
    <div class="well" style="margin-top: 10px; margin-bottom: 10px">
        <h3>@Resources.AdvancedSearch</h3>
    </div>
    <div>
        <div data-bind="visible: $root.expertsAdvancedSearch">
            <div class="btn-group">
                <button class="btn btn-large btn-info" data-bind="click: function(){ $root.advancedSearchExperts();}"><strong>Experts</strong></button>
                <button class="btn btn-large" data-bind="click: function(){ $root.advancedSearchCompanies();}"><strong>Companies</strong></button>
                <button class="btn btn-large" data-bind="click: function(){ $root.advancedSearchPositions();}"><strong>Positions</strong></button>
            </div>
            @Html.Partial("Home/AdvancedSearchExperts")             
        </div>
        <div data-bind="visible: $root.companiesAdvancedSearch">
            <div class="btn-group">
                <button class="btn btn-large" data-bind="click: function(){ $root.advancedSearchExperts();}"><strong>Experts</strong></button>
                <button class="btn btn-large btn-info" data-bind="click: function(){ $root.advancedSearchCompanies();}"><strong>Companies</strong></button>
                <button class="btn btn-large" data-bind="click: function(){ $root.advancedSearchPositions();}"><strong>Positions</strong></button>
            </div>
            @Html.Partial("Home/AdvancedSearchCompanies")
        </div>
        <div data-bind="visible: $root.positionsAdvancedSearch">
            <div class="btn-group">
                <button class="btn btn-large" data-bind="click: function(){ $root.advancedSearchExperts();}"><strong>Experts</strong></button>
                <button class="btn btn-large" data-bind="click: function(){ $root.advancedSearchCompanies();}"><strong>Companies</strong></button>
                <button class="btn btn-large btn-info" data-bind="click: function(){ $root.advancedSearchPositions();}"><strong>Positions</strong></button>
            </div>
            @Html.Partial("Home/AdvancedSearchPositions")      
        </div>
    </div>
</div>